// src/store/index.js
import { createStore } from 'vuex'

const store = createStore({
    state: {
        count: 0,
    },
    mutations: {
        increment(state) {
            state.count++
        },
    },
    actions: {
        increment({ commit }) {
            commit('increment')
        },
    },
})

export default store
